[INFO] cloning repository https://github.com/imyanglu/process_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imyanglu/process_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimyanglu%2Fprocess_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimyanglu%2Fprocess_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ad975e25cb91796a773836870a4097b57e332da0
[INFO] fixing imyanglu/process_rust against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimyanglu%2Fprocess_rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/imyanglu/process_rust
[INFO] finished tweaking git repo https://github.com/imyanglu/process_rust
[INFO] tweaked toml for git repo https://github.com/imyanglu/process_rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/imyanglu/process_rust on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/imyanglu/process_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded h2 v0.4.11
[INFO] [stderr]   Downloaded redox_syscall v0.5.15
[INFO] [stderr]   Downloaded reqwest v0.12.22
[INFO] [stderr]   Downloaded rustls v0.23.29
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e16fc7238a59de836b6d4cae8e80a18e8e0627cfc5bdcea426faefff18f04cd4
[INFO] running `Command { std: "docker" "start" "e16fc7238a59de836b6d4cae8e80a18e8e0627cfc5bdcea426faefff18f04cd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e16fc7238a59de836b6d4cae8e80a18e8e0627cfc5bdcea426faefff18f04cd4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e16fc7238a59de836b6d4cae8e80a18e8e0627cfc5bdcea426faefff18f04cd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e16fc7238a59de836b6d4cae8e80a18e8e0627cfc5bdcea426faefff18f04cd4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking windows-strings v0.3.1
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking crossbeam v0.8.4
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling windows-implement v0.59.0
[INFO] [stderr]    Compiling windows-interface v0.59.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]     Checking tokio v1.46.1
[INFO] [stderr]     Checking windows-core v0.60.1
[INFO] [stderr]     Checking windows-numerics v0.1.1
[INFO] [stderr]     Checking windows-collections v0.1.1
[INFO] [stderr]     Checking windows-future v0.1.1
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking windows v0.60.0
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking h2 v0.4.11
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking hyper-util v0.1.16
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.22
[INFO] [stderr]     Checking process_watcher v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/process.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/process.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:120:9
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/process.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     Win32::{
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tcp.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::{
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]   --> src/process.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     core::PCWSTR,
[INFO] [stdout]    |     ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/process.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/process.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:120:9
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/process.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     Win32::{
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope
[INFO] [stdout]   --> src/process.rs:31:38
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let handle_res = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, false, pid);
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope
[INFO] [stdout]   --> src/process.rs:31:66
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let handle_res = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, false, pid);
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope
[INFO] [stdout]   --> src/process.rs:48:33
[INFO] [stdout]    |
[INFO] [stdout] 48 |             std::mem::size_of::<PROCESS_MEMORY_COUNTERS>() as u32,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn get_process_memory_usage<PROCESS_MEMORY_COUNTERS>(pid: u32) -> Option<(String, usize)> {
[INFO] [stdout]    |                            +++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope
[INFO] [stdout]   --> src/process.rs:93:41
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let h_process_res = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, false, pid);
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope
[INFO] [stdout]   --> src/process.rs:93:69
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let h_process_res = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, false, pid);
[INFO] [stdout]    |                                                                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESS_MEMORY_COUNTERS_EX` in this scope
[INFO] [stdout]   --> src/process.rs:99:25
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let mut mem_ex: PROCESS_MEMORY_COUNTERS_EX = std::mem::zeroed();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESS_MEMORY_COUNTERS_EX` in this scope
[INFO] [stdout]    --> src/process.rs:100:31
[INFO] [stdout]     |
[INFO] [stdout] 100 |         mem_ex.cb = size_of::<PROCESS_MEMORY_COUNTERS_EX>() as u32;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  90 | pub fn get_process_info<PROCESS_MEMORY_COUNTERS_EX>(pid: u32) -> Option<ProcessInfo> {
[INFO] [stdout]     |                        ++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope
[INFO] [stdout]    --> src/process.rs:115:33
[INFO] [stdout]     |
[INFO] [stdout] 115 |             std::mem::size_of::<PROCESS_MEMORY_COUNTERS>() as u32,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  90 | pub fn get_process_info<PROCESS_MEMORY_COUNTERS>(pid: u32) -> Option<ProcessInfo> {
[INFO] [stdout]     |                        +++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESS_MEMORY_COUNTERS_EX` in this scope
[INFO] [stdout]    --> src/process.rs:127:33
[INFO] [stdout]     |
[INFO] [stdout] 127 |             std::mem::size_of::<PROCESS_MEMORY_COUNTERS_EX>() as u32,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  90 | pub fn get_process_info<PROCESS_MEMORY_COUNTERS_EX>(pid: u32) -> Option<ProcessInfo> {
[INFO] [stdout]     |                        ++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_TERMINATE` in this scope
[INFO] [stdout]    --> src/process.rs:193:38
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let handle_res = OpenProcess(PROCESS_TERMINATE, false, pid);
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashSet`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashSet, env, fs, path::Path, time::Instant};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crossbeam_queue::SegQueue`
[INFO] [stdout]  --> src/convert.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crossbeam_queue::SegQueue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/convert.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `threadpool::ThreadPool`
[INFO] [stdout]   --> src/convert.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use threadpool::ThreadPool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tcp.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::{
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]   --> src/process.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     core::PCWSTR,
[INFO] [stdout]    |     ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/net.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> src/process.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope
[INFO] [stdout]   --> src/process.rs:31:38
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let handle_res = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, false, pid);
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope
[INFO] [stdout]   --> src/process.rs:31:66
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let handle_res = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, false, pid);
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope
[INFO] [stdout]   --> src/process.rs:48:33
[INFO] [stdout]    |
[INFO] [stdout] 48 |             std::mem::size_of::<PROCESS_MEMORY_COUNTERS>() as u32,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn get_process_memory_usage<PROCESS_MEMORY_COUNTERS>(pid: u32) -> Option<(String, usize)> {
[INFO] [stdout]    |                            +++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope
[INFO] [stdout]   --> src/process.rs:93:41
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let h_process_res = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, false, pid);
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope
[INFO] [stdout]   --> src/process.rs:93:69
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let h_process_res = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, false, pid);
[INFO] [stdout]    |                                                                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESS_MEMORY_COUNTERS_EX` in this scope
[INFO] [stdout]   --> src/process.rs:99:25
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let mut mem_ex: PROCESS_MEMORY_COUNTERS_EX = std::mem::zeroed();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESS_MEMORY_COUNTERS_EX` in this scope
[INFO] [stdout]    --> src/process.rs:100:31
[INFO] [stdout]     |
[INFO] [stdout] 100 |         mem_ex.cb = size_of::<PROCESS_MEMORY_COUNTERS_EX>() as u32;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  90 | pub fn get_process_info<PROCESS_MEMORY_COUNTERS_EX>(pid: u32) -> Option<ProcessInfo> {
[INFO] [stdout]     |                        ++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope
[INFO] [stdout]    --> src/process.rs:115:33
[INFO] [stdout]     |
[INFO] [stdout] 115 |             std::mem::size_of::<PROCESS_MEMORY_COUNTERS>() as u32,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  90 | pub fn get_process_info<PROCESS_MEMORY_COUNTERS>(pid: u32) -> Option<ProcessInfo> {
[INFO] [stdout]     |                        +++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PROCESS_MEMORY_COUNTERS_EX` in this scope
[INFO] [stdout]    --> src/process.rs:127:33
[INFO] [stdout]     |
[INFO] [stdout] 127 |             std::mem::size_of::<PROCESS_MEMORY_COUNTERS_EX>() as u32,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  90 | pub fn get_process_info<PROCESS_MEMORY_COUNTERS_EX>(pid: u32) -> Option<ProcessInfo> {
[INFO] [stdout]     |                        ++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_TERMINATE` in this scope
[INFO] [stdout]    --> src/process.rs:193:38
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let handle_res = OpenProcess(PROCESS_TERMINATE, false, pid);
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashSet`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashSet, env, fs, path::Path, time::Instant};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crossbeam_queue::SegQueue`
[INFO] [stdout]  --> src/convert.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crossbeam_queue::SegQueue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/convert.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `threadpool::ThreadPool`
[INFO] [stdout]   --> src/convert.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use threadpool::ThreadPool;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]   --> src/process.rs:31:26
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let handle_res = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, false, pid);
[INFO] [stdout]    |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/net.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> src/process.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `K32GetProcessImageFileNameW` in this scope
[INFO] [stdout]   --> src/process.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let len = K32GetProcessImageFileNameW(h_process, &mut buffer) as usize;
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope
[INFO] [stdout]   --> src/process.rs:44:32
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut mem_counters = PROCESS_MEMORY_COUNTERS::default();
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PROCESS_MEMORY_COUNTERS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `K32GetProcessMemoryInfo` in this scope
[INFO] [stdout]   --> src/process.rs:45:22
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mem_ok = K32GetProcessMemoryInfo(
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/process.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = CloseHandle(h_process);
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]   --> src/process.rs:93:29
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let h_process_res = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, false, pid);
[INFO] [stdout]    |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `K32GetProcessMemoryInfo` in this scope
[INFO] [stdout]    --> src/process.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let _ = K32GetProcessMemoryInfo(h_process, &mut mem_ex as *mut _ as *mut _, mem_ex.cb);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `K32GetProcessImageFileNameW` in this scope
[INFO] [stdout]    --> src/process.rs:105:19
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let len = K32GetProcessImageFileNameW(h_process, &mut buffer) as usize;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope
[INFO] [stdout]    --> src/process.rs:111:32
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut mem_counters = PROCESS_MEMORY_COUNTERS::default();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PROCESS_MEMORY_COUNTERS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `K32GetProcessMemoryInfo` in this scope
[INFO] [stdout]    --> src/process.rs:112:22
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let mem_ok = K32GetProcessMemoryInfo(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PROCESS_MEMORY_COUNTERS_EX` in this scope
[INFO] [stdout]    --> src/process.rs:123:28
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut counters = PROCESS_MEMORY_COUNTERS_EX::default();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PROCESS_MEMORY_COUNTERS_EX`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessMemoryInfo` in this scope
[INFO] [stdout]    --> src/process.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let _ = GetProcessMemoryInfo(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/process.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let _ = CloseHandle(h_process);
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `K32EnumProcesses` in this scope
[INFO] [stdout]    --> src/process.rs:152:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |         if !K32EnumProcesses(pids.as_mut_ptr(), size, &mut bytes_returned).as_bool() {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]    --> src/process.rs:193:26
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let handle_res = OpenProcess(PROCESS_TERMINATE, false, pid);
[INFO] [stdout]     |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TerminateProcess` in this scope
[INFO] [stdout]    --> src/process.rs:198:17
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let _ = TerminateProcess(h_process, 0);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/process.rs:199:17
[INFO] [stdout]     |
[INFO] [stdout] 199 |         let _ = CloseHandle(h_process);
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/process.rs:215:28
[INFO] [stdout]     |
[INFO] [stdout] 215 |         .map(|s| OsString::from_wide(s).to_string_lossy().to_string())
[INFO] [stdout]     |                            ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/ffi/os_str.rs:133:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 215 -         .map(|s| OsString::from_wide(s).to_string_lossy().to_string())
[INFO] [stdout] 215 +         .map(|s| OsString::from_iter(s).to_string_lossy().to_string())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/process.rs:220:14
[INFO] [stdout]     |
[INFO] [stdout] 219 |           let drive_wide: Vec<u16> = std::ffi::OsStr::new(drive_trimmed)
[INFO] [stdout]     |  ____________________________________-
[INFO] [stdout] 220 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]   --> src/process.rs:31:26
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let handle_res = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, false, pid);
[INFO] [stdout]    |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `K32GetProcessImageFileNameW` in this scope
[INFO] [stdout]   --> src/process.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let len = K32GetProcessImageFileNameW(h_process, &mut buffer) as usize;
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope
[INFO] [stdout]   --> src/process.rs:44:32
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut mem_counters = PROCESS_MEMORY_COUNTERS::default();
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PROCESS_MEMORY_COUNTERS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `K32GetProcessMemoryInfo` in this scope
[INFO] [stdout]   --> src/process.rs:45:22
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mem_ok = K32GetProcessMemoryInfo(
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/process.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = CloseHandle(h_process);
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]   --> src/process.rs:93:29
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let h_process_res = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, false, pid);
[INFO] [stdout]    |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `K32GetProcessMemoryInfo` in this scope
[INFO] [stdout]    --> src/process.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let _ = K32GetProcessMemoryInfo(h_process, &mut mem_ex as *mut _ as *mut _, mem_ex.cb);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `K32GetProcessImageFileNameW` in this scope
[INFO] [stdout]    --> src/process.rs:105:19
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let len = K32GetProcessImageFileNameW(h_process, &mut buffer) as usize;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PROCESS_MEMORY_COUNTERS` in this scope
[INFO] [stdout]    --> src/process.rs:111:32
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut mem_counters = PROCESS_MEMORY_COUNTERS::default();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PROCESS_MEMORY_COUNTERS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `K32GetProcessMemoryInfo` in this scope
[INFO] [stdout]    --> src/process.rs:112:22
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let mem_ok = K32GetProcessMemoryInfo(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `PROCESS_MEMORY_COUNTERS_EX` in this scope
[INFO] [stdout]    --> src/process.rs:123:28
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut counters = PROCESS_MEMORY_COUNTERS_EX::default();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PROCESS_MEMORY_COUNTERS_EX`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessMemoryInfo` in this scope
[INFO] [stdout]    --> src/process.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let _ = GetProcessMemoryInfo(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/process.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let _ = CloseHandle(h_process);
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `K32EnumProcesses` in this scope
[INFO] [stdout]    --> src/process.rs:152:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |         if !K32EnumProcesses(pids.as_mut_ptr(), size, &mut bytes_returned).as_bool() {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope
[INFO] [stdout]    --> src/process.rs:193:26
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let handle_res = OpenProcess(PROCESS_TERMINATE, false, pid);
[INFO] [stdout]     |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TerminateProcess` in this scope
[INFO] [stdout]    --> src/process.rs:198:17
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let _ = TerminateProcess(h_process, 0);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/process.rs:199:17
[INFO] [stdout]     |
[INFO] [stdout] 199 |         let _ = CloseHandle(h_process);
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/process.rs:215:28
[INFO] [stdout]     |
[INFO] [stdout] 215 |         .map(|s| OsString::from_wide(s).to_string_lossy().to_string())
[INFO] [stdout]     |                            ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/ffi/os_str.rs:133:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 215 -         .map(|s| OsString::from_wide(s).to_string_lossy().to_string())
[INFO] [stdout] 215 +         .map(|s| OsString::from_iter(s).to_string_lossy().to_string())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `process_watcher` (bin "process_watcher" test) due to 34 previous errors; 6 warnings emitted
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/process.rs:220:14
[INFO] [stdout]     |
[INFO] [stdout] 219 |           let drive_wide: Vec<u16> = std::ffi::OsStr::new(drive_trimmed)
[INFO] [stdout]     |  ____________________________________-
[INFO] [stdout] 220 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `process_watcher` (bin "process_watcher") due to 34 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e16fc7238a59de836b6d4cae8e80a18e8e0627cfc5bdcea426faefff18f04cd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e16fc7238a59de836b6d4cae8e80a18e8e0627cfc5bdcea426faefff18f04cd4", kill_on_drop: false }`
[INFO] [stdout] e16fc7238a59de836b6d4cae8e80a18e8e0627cfc5bdcea426faefff18f04cd4
